package org.lizar.controller.intercepter;

import java.io.IOException;

import javax.servlet.ServletException;

import org.lizar.controller.loader.BasicLoader;
import org.lizar.ioc.Cell;

/**
 * Executing each user request.
 * sequence EventInterceptor.before event.handle EventInterceptor.after.
 *
 */
public interface EventInterceptor extends Cell {
	
	void before(BasicLoader bl) throws ServletException, IOException;
	
	void after(BasicLoader bl) throws ServletException, IOException;
}
